package com.feishu.service.impl;


import com.feishu.mapper.FeiShuMapper;
import com.feishu.service.FeiShuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Map;

@Service
public class FeiShuServiceImpl implements FeiShuService {
    @Autowired
    FeiShuMapper feiShuMapper;

    @Override
    public List<Map<String, Object>> getOptions(String code, String k3cloud) {
        return feiShuMapper.getOptions(code, k3cloud);
    }

    @Override
    public List<Map<String, Object>> getOptionsByPlmCodeAndK3cloudFormId(String plmCode, String k3cloudFormId) {
        return feiShuMapper.getOptionsByPlmCodeAndK3cloudFormId(plmCode, k3cloudFormId);
    }



    @Override
    public List<Map<String, Object>> getExecutionTypeByPlmCodeAndK3cloudFormId(String plmCode, String k3cloudFormId) {
        return feiShuMapper.getExecutionTypeByPlmCodeAndK3cloudFormId(plmCode, k3cloudFormId);
    }

    @Override
    public List<Map<String,Object>> getInTreeMap(String code, String k3cloud) {
        return feiShuMapper.getInTreeMap(code, k3cloud);
    }

    @Override
    public List<Map<String, Object>> getInTreeMapByPlmCodeAndK3cloudFormId(String plmCode, String k3cloudFormId) {
        return feiShuMapper.getInTreeMapByPlmCodeAndK3cloudFormId(plmCode, k3cloudFormId);
    }

    @Override
    public List<Map<String, Object>> getOutTreeMap(String code, String k3cloud) {
        return feiShuMapper.getOutTreeMap(code, k3cloud);
    }

    @Override
    public List<Map<String, Object>> getOutTreeMapByPlmCodeAndK3cloudFormId(String plmCode, String k3cloudFormId) {
        return feiShuMapper.getOutTreeMapByPlmCodeAndK3cloudFormId(plmCode, k3cloudFormId);
    }
}
